package com.base.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.po.voip.SelfShopCategory;
import com.base.po.voip.SelfShopCategoryExample;

public interface SelfShopCategoryService {
	 int countByExample(SelfShopCategoryExample example);

	 int deleteByExample(SelfShopCategoryExample example);

	 int deleteByPrimaryKey(String id);

	 int insert(SelfShopCategory record);

	 int insertSelective(SelfShopCategory record);

	 List<SelfShopCategory> selectByExample(SelfShopCategoryExample example);

	 SelfShopCategory selectByPrimaryKey(String id);
	 
	 List<SelfShopCategory> selectByParentIDAndShopID(@Param("parentid") String parentid, @Param("shopid") String shopid);

	 List<SelfShopCategory> selectByLevel1(@Param("parentid") String parentid, @Param("shopid") String shopid);
	 
	 List<SelfShopCategory> selectByTopid(String topid);
	 
	 int updateByExampleSelective(@Param("record") SelfShopCategory record, @Param("example") SelfShopCategoryExample example);

	 int updateByExample(@Param("record") SelfShopCategory record, @Param("example") SelfShopCategoryExample example);

	 int updateByPrimaryKeySelective(SelfShopCategory record);

	 int updateByPrimaryKey(SelfShopCategory record);
}
